hackerrank java hashset problem

visit shbcf.ru